package cn.edu.sdjzu.xg23.kcsj01_backend.mapper;


import cn.edu.sdjzu.xg23.kcsj01_backend.entity.Standard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StandardMapper {

    boolean save(Standard standard);//  保存

    boolean delete(Long id);  //  删除

    boolean  update(Standard standard); //  修改

    List<Standard> get(@Param("standard") Standard  standard,
                     @Param("employeeId") Long employeeId);

    boolean approve(Standard standard);
}
